public class Course {
    String courseName;
    double score;

    public Course(String courseName,double score) {
        this.courseName = courseName;
        this.score=score;
    }
    public void print(){
        System.out.println("courseName="+courseName);
        System.out.println("score="+score);
    }
    public static void main(String[] args) {
        Course course1=new Course("math",66);
        Course course2=new Course("chinese",78);

    }
}
